<template>
	<view class="duilianpt" >
		<view  v-for="(item,inx) in dataList.meansList" :key="inx">
			
			
			<u-row justify="space-between" gutter="10" >
				<u-col>
					<view class="nobordered">
						<u-row>
							<u-col span="3">
								<view class="text-center u-content-color"><text>{{item.issue}}期:</text></view>
							</u-col>
						
							<u-col span="6">
								<view class="zodiac bordered">
									{{item.means.shiqian}}
									<text class="grey-text">（?）</text>
									{{item.means.shihou}}
								</view>
							</u-col>
						
							<u-col span="2">
								<view class="nowrap">
									<text v-if="item.is_true > 0 && item.drawp" class="black-text">开:{{item.drawp}}</text>
									<text v-else  class="black-text">开:{{item.drawp || '??'}}</text>
								</view>
							</u-col>
							<u-col span="1">
								<u-icon v-if="item.is_true == 1" name="checkmark" size="16" color="#FF0000" style="float:right;font-weight: bold;"></u-icon>
								<u-icon v-else-if="item.is_true == 2" name="close" size="16"  style="float:right;font-weight: bold;"></u-icon>
								<u-icon v-else name="question" size="16"  style="float:right;font-weight: bold;"></u-icon>
							</u-col>
						</u-row>
						
						<u-row class="topborder">
							<u-col>
								<text class="magenta-text">
									解:
									<text class="black-text">{{item.means.jie}}:</text>
									<text class="black-text">
										<text class="mg-right5" :class="{'bg-yellow' : (vl.isTrue)}" v-for="(vl,vk) in item.means['attr']" :key="vk">{{vl.value}}</text>
										</text>
								</text>
							</u-col>
						</u-row>
					</view>
				</u-col>
			</u-row>
		</view>
	</view>
</template>

<script>
export default {
	name: 'TianCiBaoTe',
	props: {
	    // 定义一个名为dataList的prop来接收数组数据
	    dataList: {
	      type: [Object,Array],
	      default: () => {
			  return {};
		  },
	    },
		isShowAll :{
			type:[Boolean],
			default : () =>{
				return false;
			}
		},
	},
	data(){
		return {
		}
	},
	mounted() {
		
	},
	methods: {
	}
};
</script>

<style lang="scss" scoped>
@import "@/static/css/common.css";
</style>
